package com.epi;

import com.epi.basic.config.MyConfig;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author dxy
 * @since 1.0
 */
@SpringBootApplication
@MapperScan("com.epi.mapper")
public class SecurityApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(SecurityApplication.class, args);
        MyConfig myConfig = run.getBean(MyConfig.class);
        System.out.println(myConfig.toString());
    }
}
